import { has} from './has'
// 485
/**
 * 返回包含对象自身可遍历所有键名的数组
 * dependencies has
 * @param {*} obj 目标对象
 * @returns 
 */
export function keys (obj) {
    const ret = [];
    for (var key in obj) {
      if (has(obj, key)) ret.push(key);
    }
    return ret;
 }

